package com.jiucang.dataview.mybatis.service.impl;

import com.jiucang.dataview.mybatis.bean.User;
import com.jiucang.dataview.mybatis.mapper.UserMapper;
import com.jiucang.dataview.mybatis.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper mapper;

    public List<User> getUsers(){
        return mapper.getUsers();
    }
}
